package wei.qiang.ye.dynamicdatasourcebaomidou01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy(exposeProxy = true)  //将当前代理对象设置到 AopContext 中,方便后续操作
@MapperScan(basePackages = "wei.qiang.ye.dynamicdatasourcebaomidou01.mapper")
@SpringBootApplication
public class DynamicDatasourceBaomidou01Application {

	public static void main(String[] args) {
		SpringApplication.run(DynamicDatasourceBaomidou01Application.class, args);
	}

}
